﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="message.aspx.cs" Inherits="JumbotCms.WebFile.Admin._config_message" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title></title>
<link type="text/css" rel="stylesheet" href="../../admin/otherpage/styles/common.css" />
<script type="text/javascript" src="../../_data/SysConfig.js"></script>
<script type="text/javascript" src="../../_libs/jquery-min.js"></script>
<script type="text/javascript" src="../../scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="../../style/global.css" />
<link rel="stylesheet" href="../../_libs/jquery.tabs/style.css"
        type="text/css">
<!--[if lte IE 7]>
<link rel="stylesheet" href="../../_libs/jquery.tabs/style-ie.css" type="text/css">
<![endif]-->
<link type="text/css" rel="stylesheet" href="../../_libs/jquery.formvalidator/style.css" />
<script type="text/javascript" src="../../_libs/jquery.formvalidator.js"></script>

<script type="text/javascript">
$(document).ready(function(){
	ajaxTopNav('2');
	$.formValidator.initConfig({validatorGroup:"1",onError:function(msg){/*alert(msg)*/}});
	$("#txtSystemUserId").formValidator({validatorGroup:"1",tipid:"tipSystemUserId",onshow:"请输入系统收发人ID",onfocus:"可到用户列表中找到对应的ID",oncorrect:""}).RegexValidator({regexp:"intege1",datatype:"enum",onerror:"应该为正整数"});
	$("#txtSystemUserName").formValidator({validatorGroup:"1",tipid:"tipSystemUserName",onshow:"请输入系统收发人署名",onfocus:"不一定要与用户名一致",oncorrect:""}).InputValidator({min:1,onerror:"请输入系统收发人署名"});
    $("#txtServiceUserId").formValidator({validatorGroup:"1",tipid:"tipServiceUserId",onshow:"请输入客服收发人ID",onfocus:"可到用户列表中找到对应的ID",oncorrect:""}).RegexValidator({regexp:"intege1",datatype:"enum",onerror:"应该为正整数"});
	$("#txtServiceUserName").formValidator({validatorGroup:"1",tipid:"tipServiceUserName",onshow:"请输入客服收发人署名",onfocus:"不一定要与用户名一致",oncorrect:""}).InputValidator({min:1,onerror:"请输入客服收发人署名"});
});
function ajaxTopNav(n)
{
	$("#tab"+n).toggleClass('tabs-selected');
}
function Button1_onclick() {
    return jQuery.formValidator.PageIsValid('1');
}
</script>
</head>
<body>
<form id="form1" runat="server">
	<br />
	<div>
		<div id="ajaxTopNav">
			<ul class="tabs-nav">
				<li id="tab1"><a href="index.aspx"><span>基本参数</span></a></li>
				<li id="tab2"><a href="message.aspx"><span>短信设置</span></a></li>
				<li id="tab3"><a href="user.aspx"><span>用户设置</span></a></li>
			</ul>
		</div>
		<div class="tabs-container">
			<table class="formtable">
				<tr>
					<th> 系统收发人ID </th>
					<td><asp:TextBox ID="txtSystemUserId" runat="server" MaxLength="10" Width="60px" CssClass="ipt"></asp:TextBox>
						<div class="ValidatorTip" id="tipSystemUserId" style="width:250px"> </div></td>
				</tr>
				<tr>
					<th> 系统收发人署名 </th>
					<td><asp:TextBox ID="txtSystemUserName" runat="server" MaxLength="20" Width="120px" CssClass="ipt"></asp:TextBox>
						<div class="ValidatorTip" id="tipSystemUserName" style="width:250px"> </div></td>
				</tr>
				<tr>
					<th> 客服收发人ID</th>
					<td><asp:TextBox ID="txtServiceUserId" runat="server" MaxLength="10" Width="60px" CssClass="ipt"></asp:TextBox>
						<div class="ValidatorTip" id="tipServiceUserId" style="width:250px"> </div></td>
				</tr>
				<tr>
					<th> 客服收发人署名</th>
					<td><asp:TextBox ID="txtServiceUserName" runat="server" MaxLength="20" Width="120px" CssClass="ipt"></asp:TextBox>
						<div class="ValidatorTip" id="tipServiceUserName" style="width:250px"> </div></td>
				</tr>
			</table>
			<div class="buttonok">
				<asp:Button ID="Button1" OnClientClick="return Button1_onclick()" runat="server" Text="保存" CssClass="btnsubmit" OnClick="Button1_Click" />
			</div>
		</div>
	</div>
</form>
</body>
</html>
